<template>
  <div class="box">
    <div class="tit"><slot name="title"></slot></div>
    <br />
    <slot name="body"></slot>
  </div>
</template>

<script>
export default {};
</script>

<style>
* {
  margin: 0;
}
.box {
  height: 100px;
  width: 100%;
  border: 1px solid #333;
}
.tit {
  height: 40px;
  display: flex;

  align-items: center;
}
</style>
